package com.lagou.zk.service.impl;

import com.lagou.zk.dao.ResumeDao;
import com.lagou.zk.service.IResumeService;
import com.lagou.zk.pojo.Resume;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ResumeServiceImpl implements IResumeService {

    @Autowired
    ResumeDao resumeDao;

    @Override
    public List<Resume> getAll() {
        List<Resume> list = resumeDao.getAll();
        System.out.println(list.toString());
        return list;
    }
}
